﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using ComLib.ComFun;
using System.IO;

namespace ComLib.ConfigService
{
    public static class LoadingError
    {
        public static List<string> _messages = new List<string>();
        public static string ErrorMessage
        {
            get
            {
                StringBuilder build = new StringBuilder();
                for (int i = 0; i < _messages.Count; i++)
                {
                    build.Append(_messages[i]);
                    build.Append("; ");
                }
                return build.ToString();
            }
        }

        public static void AddErrorMessage(string s)
        {
            _messages.Add(s);
        }
    }
}
